#
# For Qt
#
find_package(Qt4 REQUIRED)

add_definitions(${QT_DEFINTIONS})

link_directories(${QT_LIB_DIR})

include_directories(${QT_INCLUDE_DIR})

include(${QT_USE_FILE})

set(testleadsheet_srcs
    main.cpp
)

set(testleadsheet_libs
    ${QT_LIBRARIES}
    unittest++
    leadsheet
)

set(testleadsheet_moc_hdrs
)

qt4_wrap_cpp(testleadsheet_moc_srcs ${testleadsheet_moc_hdrs})

include_directories(../../unittest++ .. .)

add_executable(testleadsheet ${testleadsheet_srcs} ${testleadsheet_moc_srcs})

target_link_libraries(testleadsheet ${testleadsheet_libs})
